html,
body {
  overflow-x: hidden;
  /* bloque le scroll horizontal */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  -ms-overflow-style: none;
  /* IE & Edge */
  scrollbar-width: none;
  /* Firefox */
  background-color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  color: #333;
  margin: 0;

}

/* Colonne gauche (logo) */
.header-left {
  flex: 1;
  display: flex;
  align-items: center;
}

/* Colonne centrale (menu) */
.header-center {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Colonne droite (bouton Connexion) */
.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}


.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 160px;
  padding: 0 3rem;
  background-color: #121212;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  font-family: 'Segoe UI', sans-serif;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

/* Image du logo */
.logo-img {
  height: 80%;
  max-height: 400px;
  object-fit: contain;
}

/* Menu de navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}


.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00d1b2;
}



/* Bouton Connexion */
.login-button {
  padding: 0.6rem 1.2rem;
  background-color: #540886;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: #a00070;
}
.product-intro {
    text-align: center;
    padding: 2rem 1rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 150px;


}

.product-intro h2 {
    color: #222;
    margin-bottom: 0.5rem;
    margin-top: 5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
}

.product-intro p {
    font-size: 1.4rem;
    color: #666;
    font-family: 'Segoe UI', sans-serif;
}


.price-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all .2s ease;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 20px;
}

.card-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.arrow {
    transition: transform 0.2s ease;
}

.card.open .arrow {
    transform: rotate(90deg);
}

.sublist {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    display: flex;
    flex-direction: column;
}

.card.open .sublist {
    max-height: 500px;
    /* suffit large */
}

.subitem {
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.name {
    font-weight: 500;
    font-family: 'Segoe UI', sans-serif;
}

.price {
    font-weight: 700;
}
/* Par défaut : cacher le bouton mobile */
.mobile-price-btn {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.mobile-price-btn a {
    display: inline-block;
    padding: 12px 24px;
    background-color: #540886;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}




.footer {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.8;
}
/* === Grille avec total === */
.subitem {
  display: grid;
  grid-template-columns: 1fr 120px 120px 120px;
  align-items: center;
  padding: 10px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 10px;
}

.header-row {
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.05);
}

.price-title {
  text-align: center;
  font-size: 0.9rem;
  font-family: 'Segoe UI', sans-serif;
  opacity: 0.8;
}

.price {
  text-align: center;
  font-weight: 600;
}

.single .price {
  text-align: center;
}
.price.total {
  font-weight: 700;
  color: #540886;
}

@media (max-width: 800px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
/* ========================= */
/* 🌐 Responsive Design */
/* ========================= */

/* --- Tablettes et petits écrans --- */
@media (max-width: 1024px) {
  .site-header {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 1rem;
  }

  .logo-img {
    max-height: 120px;
    margin-bottom: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .header-right {
    margin-top: 1rem;
  }
/* --- Smartphones --- */
@media (max-width: 600px) {
  body {
    font-size: 0.9rem;
  }

  .site-header {
    padding: 1rem 0.5rem;
  }

  .logo-img {
    max-height: 300px;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .subitem {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .price, .price-title {
    margin-top: 6px;
  }
  .grid {
        display: none; /* cacher la grille sur mobile */
    }
        /* Cache le footer "Last updated" sur mobile */
    .footer {
        display: none;
    }

    .mobile-price-btn {
        display: block;                /* visible uniquement sur mobile */
        width: 80%;                    /* largeur sympa pour le bouton */
        max-width: 250px;              /* limite sur grands écrans mobiles */
        margin: 10px auto;             /* centré horizontalement avec marge au-dessus */
        padding: 12px 20px;            /* confortable pour toucher */
        background-color: #540886;
        color: #fff;
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        border-radius: 8px;
        text-decoration: none;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
    }

  

/* ======== MENU BURGER ======== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background-color: white;
  border-radius: 5px;
  transition: 0.3s ease;
}

/* Animation croix quand ouvert */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* --- Responsive (max 900px) --- */

@media (max-width: 900px) {

  .site-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: auto;
    padding: 1rem;
    position: relative;
  }

  .logo-img {
    max-width: 300px;
    height: auto;
    margin: 10px auto;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 1000;
    cursor: pointer;
  }

  .header-center {
    width: 100%;
  }

  /* ======= Menu caché par défaut ======= */
  .nav-links {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #121212;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #333;
    gap: 1rem;
  }

  /* ======= Quand le menu est ouvert ======= */
  .nav-links.show {
    display: flex;
  }

  /* ✅ 3 liens par ligne bien centrés */
  .nav-links li {
    flex: 1 1 28%;
    min-width: 100px;
  }

  .nav-links a {
    display: inline-block;
    width: 100%;
    background-color: #1e1e1e;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.8rem 0;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }

  .nav-links a:hover {
    background-color: #540886;
  }

  /* On centre le bouton connexion sous le menu */
  .header-right {
    display: none;
    margin-top: 1rem;
  }
}

.login-button {
  width: auto;
  /* pour ne pas étirer le bouton */
  padding: 0.6rem 1.2rem;
}}}